package service;

import com.fr.base.ConfigManager;
import com.fr.base.FRContext;
import com.fr.base.Parameter;
import com.fr.general.FArray;
import com.fr.script.AbstractFunction;
import com.wondersgroup.hs.report.plugin.utils.GlobalParameterUtils;

import java.util.Arrays;

/**
 * Created by zarra on 2017/5/12.
 */
public class TestFunc extends AbstractFunction {

    public TestFunc(){
//        String value = GlobalParameterUtils.getGlobalParameter("ReportServiceURL");
//
//        System.out.println(value);
    }

    @Override
    public Object run(Object[] objects) {
        FArray<String> array =  new FArray<>();

        array.add("1");
        array.add("2");

        return array;
    }
}
